<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title> 信息填写</title>
    <link rel="stylesheet" href="__PUBLIC__/Public/css/style1.css"/>
    <link rel="icon" href="__PUBLIC__/Public/favicon.ico" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Public/css/artdialog.css" />
    <script type="text/javascript" src="__PUBLIC__/Public/js/jquery.artdialog.js" charset="utf-8"></script>
    <script type="text/javascript" src="__PUBLIC__/Public/js/global.js" charset="utf-8"></script>
    <!--[if IE]>
    <script type="text/javascript" src="__PUBLIC__/Public/js/html5.js" charset="utf-8"></script>
    <![endif]-->
</head>
<body>

<div class="head">
    <div id="header">
        <div class="topNav">
            <div class="box">
	        <span class="fl"><div id="ddate"></div><div id="ddate2"></div>
			<script language="javascript">
                var ddate=document.getElementById("ddate");
                var ddate2=document.getElementById("ddate2");

                function updatedate(){
                    var dd1=new Date();
                    dd1.setMinutes(dd1.getMinutes()+dd1.getTimezoneOffset()-420); //取当地时间加上和格林威治的时差减要求地区和格林的时差分钟，这里是-300，代表美国东部纽约和格林的时差
                    //先设置setMinutes再取getHours才有效
                    var month = dd1.getMonth()+1;
                    //month =(month<10 ? "0"+month:month);
                    if(month < 10)
                    {
                        month = '0'+month.toString();
                    }
                    var date = dd1.getDate();
                    if(date < 10)
                    {
                        date = '0'+date.toString();
                    }
                    var hour = dd1.getHours();
                    if(hour < 10)
                    {
                        hour = '0'+hour.toString();
                    }
                    var minutes = dd1.getMinutes();
                    if(minutes < 10)
                    {
                        minutes = '0'+minutes.toString();
                    }
                    var seconds = dd1.getSeconds();
                    if(seconds < 10)
                    {
                        seconds = '0'+seconds.toString();
                    }
                    ddate.innerHTML='美国西部时间：'+dd1.getFullYear()+"年"+month+"月"+date+"日 "+hour+":"+minutes+":"+seconds;
                    var dd2=new Date();
                    dd2.setMinutes(dd2.getMinutes()+dd2.getTimezoneOffset()+13*60-300);//纽约和中国相差13个小时，夏天是12个小时所以这里加上13*60 夏天改为12*60
                    var month = dd2.getMonth()+1;
                    //month =(month<10 ? "0"+month:month);
                    if(month < 10)
                    {
                        month = '0'+month.toString();
                    }
                    var date = dd2.getDate();
                    if(date < 10)
                    {
                        date = '0'+date.toString();
                    }
                    var hour = dd2.getHours();
                    if(hour < 10)
                    {
                        hour = '0'+hour.toString();
                    }
                    var minutes = dd2.getMinutes();
                    if(minutes < 10)
                    {
                        minutes = '0'+minutes.toString();
                    }
                    var seconds = dd2.getSeconds();
                    if(seconds < 10)
                    {
                        seconds = '0'+seconds.toString();
                    }
                    ddate2.innerHTML='中国北京时间：'+ dd2.getFullYear()+"年"+month+"月"+date+"日 "+hour+":"+minutes+":"+seconds;
                    var t=setTimeout("updatedate()",1000);
                }
                updatedate();
            </script>
			</span>
                <span class="fr">客服电话：0000000</span>
            </div>
        </div>
        <div class="mainNav">
            <div class="box">
                <div class="logo"><a href="" title="裕鸟国际货运"><img src="__PUBLIC__/Public/images/logo.png" alt="裕鸟国际货运" /></a></div>
                <div class="mainMenu">
                    <ul>
                        <li><a href="/" target="_self">网站首页</a></li>
                        <li><a href="/company" target="_self">公司简介</a></li>
                        <li><a href="/news" target="_self">网站公告</a></li>
                        <li><a href="/help" target="_self">帮助中心</a></li>
                        <li><a href="/contactus" target="_self">联系我们</a></li>
                    </ul>
                    <dl class="buttons fr">
                        <if condition="$Think.session.users ==''">
                            <dd><a class="am-button-innerNav button-login log"  href="/login">登录</a></dd>
                            <dd><a class="am-button-innerNav button-register"  href="/register" target="_blank">注册</a></dd>
                            <else />
                            <dd><a class="am-button-innerNav button-login" style="background:#0a0;" href="/personage">个人中心</a></dd>
                            <dd><a class="am-button-innerNav button-register register" style="color:#0a0" href="javascript:logout('<!--{$Think.session.users}-->');void(0)" target="_blank">退出</a></dd
                        </if>
                    </dl>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="con"></div>
<div id="bot">
<div id="box">
    <form action="/Waybill/index" method="post">
        <div id="box_top">
            <div class="box_left way">
            <h3>发件人信息：</h3>
            <table height="240">
                <tr>
                    <td>寄件人/ContactName：</td>
                    <td><input  type="text" name="sender" value="" required oninvalid="setCustomValidity('请输入寄件人');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>
                <tr>
                    <td>联系电话/Tel NO.：</td>
                    <td><input  type="text" name="sen_tel" value="" required oninvalid="setCustomValidity('请输入寄件人联系电话');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>
                <tr>
                    <td>邮箱/Email：</td>
                    <td><input type="email" name="email" value=""  required oninvalid="setCustomValidity('请输入寄件人邮箱');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>

                <td>地址/Address：</td>
                <td>
                    <textarea name="sen_add"  cols="21" rows="4" required="" oninvalid="setCustomValidity('请输入寄件人地址');" oninput="setCustomValidity('');"></textarea>
                    <span>*</span>
                </td>
                <tr>
                <td>物流公司/Company：</td>
                <td>
                    <select name="channel" id="comp" required=""  oninvalid="setCustomValidity('请选择物流公司');" oninput="setCustomValidity('');">
                        <option value="">请选择</option>
                        <foreach name="channel" item="val">
                            <option value="<!--{$val['id']}-->"><!--{$val['company']}--></option>
                        </foreach>
                    </select>
                    <span>*</span>
                </td>
            </tr>
                <tr>
                    <td>包裹件数/：</td>
                    <td><input required="" type="text" name="sen_city" value="" oninvalid="setCustomValidity('请输入包裹件数');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>
                <tr>
                    <td>物流运单号：</td>
                    <td><input required="" type="text" name="sen_state" value="" oninvalid="setCustomValidity('请输入物流运单号');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>
            </table>
        </div>
            <div class="box_right way">
                <h3>收件人信息：</h3>
                <table height="240">
                    <tr>
                        <td>收件人/ContactName：</td>
                        <td><input  type="text" name="recipients" value="" required oninvalid="setCustomValidity('请输入收件人');" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    <tr>
                        <td>联系电话/Tel NO.：</td>
                        <td><input  type="text" name=" rec_tel" value="" required oninvalid="setCustomValidity('请输入收件人联系电话');" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    <tr>
                        <td>公司名称/Company：</td>
                        <td><input  type="text" name="rec_comp" value="" required oninvalid="setCustomValidity('请输入收件人公司名称');" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    <tr>
                        <td>地址/Address：</td>
                        <td>
                            <textarea name="rec_add"  cols="20" rows="4" required="" oninvalid="setCustomValidity('请输入收件人地址');" oninput="setCustomValidity('');"></textarea>
                            <span>*</span>
                        </td>
                    </tr>
                    <tr>
                        <td>邮编/Postal/ZipCode：</td>
                        <td><input required type="text" name="rec_postcode" value="" oninvalid="setCustomValidity('请输入收件人邮编');" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    <tr>
                        <td>国家/Country：</td>
                        <td><input required="" type="text" name="rec_state" value="" oninvalid="setCustomValidity('请输入收件人国家');" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    <tr>
                        <td>省份/province：</td>
                        <td><input type="text" name="rec_province" value=""  oninvalid="setCustomValidity('请输入收件人省份);" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    <tr>
                        <td>城市/City：</td>
                        <td><input required="" type="text" name="rec_city" value="" oninvalid="setCustomValidity('请输入收件人城市');" oninput="setCustomValidity('');"/><span>*</span></td>
                    </tr>
                    
                </table>
            </div>
        </div>
        <div class="box_bot">
            <h3>Goods Descriptions货物的详细描述</h3>
            <table>
                <tr>
                    <td >类型/Type：</td>
                    <td><input required="" type="radio" name="type" value="1" checked/>包裹No-Documents<input required="" type="radio" name="type" value="2"/>文件Documents <span>*</span></td>
                    <td style="background: #ddd;width: 150px"align="right">海关编码/Customs Code：</td>
                    <td ><input type="text" name="customs" value="" oninvalid="setCustomValidity('请输入海关编码');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>
                <tr>
                    <td>商品中文名/goods_cn：</td>
                    <td><input type="text" name="goods_cn"  oninvalid="setCustomValidity('请输入物品中文名');" oninput="setCustomValidity('');"/><span>*</span></td>
                    <td colspan="2">
                        物品数量/Items：<input required="" type="text" name="items" value="1" oninvalid="setCustomValidity('请输入物品商品中文名');" oninput="setCustomValidity('');"/><span>*</span>
                    </td>
                </tr>
                <tr>
                    <td>商品英文/goods：</td>
                    <td colspan="3"><input type="text" name="goods" value="" oninvalid="setCustomValidity('请输入物品英文名');" oninput="setCustomValidity('');"/><span>*</span></td>
                </tr>
                <tr>
                    <td>托运备注/Remark：</td>
                    <td colspan="3">
                        <textarea name="remark"  cols="80" rows="4" style="color: #aaa;" onfocus="if(this.value=='请注明是否包含这些物品：电池（纯电池、内置电池、配套电池）、电容、电子烟、纺织品、木箱、手机、移动电源、仿名牌……不要超过254字符（127汉字）') this.value='';this.color='#000'">请注明是否包含这些物品：电池（纯电池、内置电池、配套电池）、电容、电子烟、纺织品、木箱、手机、移动电源、仿名牌……不要超过254字符（127汉字）</textarea>
                    </td>
            </table>
        </div>
        <div class="bottn">
            <input type="submit" name="submit" value="提交" class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" name="reset" value="重写" class="btn"/>
        </div>
    </form>

</div>
</div>

</body>
</html>